.popup-menu {
color: #ffffff;
- font-size: 14px;
+ font-size: 10.5pt;
min-width: 200px;
}
color: #ffffff;
background-color: black;
border-image: url("panel-border.svg") 1;
+ font-size: 10.5pt;
+ height: 1.86em;
}
#panelLeft, #panelCenter, #panelRight {
.panel-button {
padding: 0px 12px;
- font-size: 14px;
font-weight: bold;
color: #ccc;
transition-duration: 100;
background: rgba(0,0,0,0.8);
border: 1px solid rgba(128,128,128,0.40);
border-radius: 10px;
- font-size: 12px;
+ font-size: 9pt;
padding: 2px 8px;
-shell-caption-spacing: 4px;
}
#dash {
color: #5f5f5f;
- font-size: 12px;
+ font-size: 9pt;
padding: 4px 0px;
background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(128, 128, 128, 0.4);
}
#viewSelector {
- spacing: 16px;
- font-size: 16px;
+ spacing: 1em;
+ font-size: 12pt;
}
#viewSelectorTabBar {
- padding: 16px;
+ padding: 1em;
}
#searchArea {
.view-tab-title {
color: #888a85;
font-weight: bold;
- padding: 0px 12px;
- height: 24px;
+ padding: 0px 0.75em;
+ height: 1.5em;
}
.view-tab-title:hover {
.view-tab-title:selected {
color: #000000;
background-color: #c2c7cd;
- border-radius: 4px;
- height: 24px;
+ border-radius: 0.25em;
}
#searchResults {
.dash-search-button-label {
color: #cccccc;
- font-size: 16px;
+ font-size: 12pt;
}
/* Apps */
}
.app-filter {
- font-size: 14px;
+ font-size: 10.5pt;
font-weight: bold;
- height: 40px;
+ height: 2.85em;
color: #aaa;
width: 200px;
}
border-radius: 4px;
padding: 3px;
border: 1px rgba(0,0,0,0);
- font-size: 10px;
+ font-size: 7.5pt;
color: white;
transition-duration: 100;
text-align: center;
}
.app-well-menu {
- font-size: 12px
+ font-size: 9pt;
}
/* LookingGlass */
.calendar-month-label {
color: #666666;
- font-size: 10px;
+ font-size: 7.5pt;
padding: 2px;
font-weight: bold;
}
.datemenu-date-label {
padding: .4em 1.75em;
- font-size: 14px;
+ font-size: 10.5pt;
color: #cccccc;
font-weight: bold;
}
.calendar-day-base {
- font-size: 10px;
+ font-size: 7.5pt;
text-align: center;
- width: 24px;
- height: 24px;
+ width: 2.4em;
+ height: 2.4em;
}
.calendar-day-base:hover {
}
.events-day-header {
- font-size: 12px;
+ font-size: 9pt;
font-weight: bold;
color: rgba(153, 153, 153, 1.0);
padding-left: 0.3em;
}
.events-day-dayname {
- font-size: 12px;
+ font-size: 9pt;
color: rgba(153, 153, 153, 1.0);
text-align: left;
}
}
.events-day-time {
- font-size: 12px;
+ font-size: 9pt;
color: #fff;
text-align: right;
}
}
.events-day-task {
- font-size: 12px;
+ font-size: 9pt;
color: rgba(153, 153, 153, 1.0);
}
}
#notification {
- font-size: 16px;
+ font-size: 12pt;
border-radius: 5px 5px 0px 0px;
background: rgba(0,0,0,0.9);
padding: 8px 8px 4px 8px;
}
.summary-boxpointer #summary-right-click-menu {
- font-size: 14px;
+ font-size: 10.5pt;
padding-top: 12px;
padding-bottom: 12px;
}
.chat-meta-message {
padding-left: 4px;
border-radius: 4px;
- font-size: 14px;
+ font-size: 10.5pt;
color: #bbbbbb;
}
}
.source-title {
- font-size: 12px;
+ font-size: 9pt;
font-weight: bold;
padding-left: 4px;
}
border-radius: 24px;
padding: 20px;
- font-size: 12px;
+ font-size: 9pt;
color: white;
}
.modal-dialog-button {
border: 1px solid #8b8b8b;
border-radius: 18px;
- font-size: 14px;
+ font-size: 10.5pt;
margin-left: 10px;
margin-right: 10px;
/* Run Dialog */
.run-dialog-label {
- font-size: 12px;
+ font-size: 9pt;
color: white;
}
.run-dialog-error-label {
- font-size: 12px;
+ font-size: 9pt;
color: white;
}
}
.run-dialog-entry {
- font-size: 14px;
+ font-size: 10.5pt;
font-weight: bold;
- width: 320px;
+ width: 23em;
color: white;
}
let primary = global.get_primary_monitor();
let rtl = (St.Widget.get_default_direction () == St.TextDirection.RTL);
- let contentY = Panel.PANEL_HEIGHT;
+ let contentY = Main.panel.actor.height;
let contentHeight = primary.height - contentY - Main.messageTray.actor.height;
this._group.set_position(primary.x, primary.y);
const Main = imports.ui.main;
const Tweener = imports.ui.tweener;
-const PANEL_HEIGHT = 26;
-
const PANEL_ICON_SIZE = 24;
const STARTUP_ANIMATION_TIME = 0.2;
let primary = global.get_primary_monitor();
this.actor.set_position(primary.x, primary.y);
- this.actor.set_size(primary.width, PANEL_HEIGHT);
+ this.actor.set_size(primary.width, -1);
this._leftCorner.relayout();
this._rightCorner.relayout();
let [width, height] = this.actor.get_transformed_size();
this.actor.x = _clamp(this.actor.x, 0, global.screen_width - width);
- this.actor.y = _clamp(this.actor.y, Panel.PANEL_HEIGHT, global.screen_height - height);
+ this.actor.y = _clamp(this.actor.y, Main.panel.actor.height, global.screen_height - height);
},
_zoomStart : function () {